package com.shangxia.monomer.study.designPatterns.creationType.factory.base;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;

/**
 * @ProjectName: monomer
 * @ClassName: Apple
 * @Time: 2021/7/18
 * @Author: zhouy
 * @Description:
 * @Experience:
 */

@Slf4j
@Data
@NoArgsConstructor
public class Apple extends Fruit {
    public Apple(String name, ColourEnum Color) {
        super(name, Color);
    }

    @Override
    public String shape() {
        return "圆形";
    }
}
